package com.blog.personalblog.service;

import com.blog.personalblog.config.page.PageRequest;
import com.blog.personalblog.entity.Category;

import java.util.List;

public interface CategoryService {
    List<Category> getCategoryPage(PageRequest pageRequest);
    int saveCategory(Category category);
    void deleteCategory(Integer categoryId);
    Category findById(Integer categoryId);
    int updateCategory(Category category);
}
